package io.zhengsh.vvip.jvm.jit;

/**
 * @author Administrator
 */
public class MethodInliningTest {

    public static void main(String[] args) {
        testInline(args);
    }

    public static int add(int a, int b) {
        return a + b;
    }

    public static void testInline(String[] args) {
        for (int i = 0; i < 1000000; i++) {
            add(i,i+1);
        }
    }
}
